/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package deadlocksim.backend.io;
import javax.swing.*;
/**
 *
 * @author CCSCHMID
 */
public class TextAreaNotifier implements DeadlockStatusNotifier{
    private JTextArea textArea;
    public TextAreaNotifier (JTextArea textArea){
        this.textArea= textArea;
        
    }
    public void sendNotification (String message, boolean err){
        textArea.append(message + "\n");
    }
            
}